import request from '@/utils/request'

// 分页列表数据
// /admin/product/baseTrademark/{page}/{limit}
export function baseTrademark(page, limit) {
    return request({
        url: `/admin/product/baseTrademark/${page}/${limit}`,
        method: 'get'
    })
}
// 新增品牌接口
// POST /admin/product/baseTrademark/save
export function baseTrademarkSave(data){
    return request({
        url:'/admin/product/baseTrademark/save',
        method:'post',
        data
    })
}
// 修改品牌接口
// PUT /admin/product/baseTrademark/update
export function baseTrademarkUpdate(data){
    return request({
        url:'/admin/product/baseTrademark/update',
        method:'put',
        data
    })
}
// 删除品牌接口
// DELETE /admin/product/baseTrademark/remove/{id}
export function baseTrademarkRemove(id){
    return request({
        url:`/admin/product/baseTrademark/remove/${id}`,
        method:'DELETE',
    })
}